<template>
  <el-timeline size="small" :reverse="true">
    <el-timeline-item
      v-for="(activity, index) in transitionHistory"
      :key="index"
      :timestamp="activity.creationTime | parseTime('{y}-{m}-{d} {h}:{i}:{s}')"
    >
      {{ activity.content }}
    </el-timeline-item>
  </el-timeline>
</template>
<script>
export default {
  name: 'WfTransitionHistory',
  props: {
    transitionHistory: {
      type: Array,
      default: null
    }
  }
}
</script>
